import request from '@/utils/request'

// 查询培训课程信息列表
export function listCourse(query) {
  return request({
    url: '/training/school/course/list',
    method: 'get',
    params: query
  })
}

// 查询培训课程信息详细
export function getCourse(id) {
  return request({
    url: '/training/school/course/' + id,
    method: 'get'
  })
}

// 修改培训课程信息
export function checkCourse(data) {
  return request({
    url: '/training/school/course/check',
    method: 'post',
    data: data
  })
}
